package com.zhss.eshop.comment.mapper;

import com.zhss.eshop.comment.domain.model.CommentInfo;
import com.zhss.eshop.comment.domain.query.CommentInfoQuery;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CommentInfoMapper {
    int deleteByPrimaryKey(Long id);

    int insertSelective(CommentInfo record);

    CommentInfo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(CommentInfo record);

    List<CommentInfo> listByPage(CommentInfoQuery query);
}
